//
//  VolunteerInputViewController.h
//  MemberProject
//
//  Created by mac on 15/4/27.
//  Copyright (c) 2015年 MAC OS X. All rights reserved.
//


#import "BaseViewController.h"
#import "HPGrowingTextView.h"

#define NSNotificationRefreshTableView @"NSNotificationRefreshTableView"

@protocol RefreshTableDelegate<NSObject>
-(void)refreshTable;

@end

@interface VolunteerInputViewController : BaseViewController<UITextFieldDelegate,UITextViewDelegate,HPGrowingTextViewDelegate>



//@property (strong, nonatomic) IBOutlet UIButton *UnitBtn;
//@property (strong, nonatomic) IBOutlet UIButton *beginTimeBtn;
//@property (strong, nonatomic) IBOutlet UIButton *endTimeBtn;

//@property (strong, nonatomic) IBOutlet UITextField *codeField;
@property (strong, nonatomic) IBOutlet UILabel *unitLabel;

@property (strong, nonatomic) IBOutlet UIButton *beginDateBtn;
@property (strong, nonatomic) IBOutlet UIButton *endDateBtn;

@property (strong, nonatomic) IBOutlet UIButton *addressBtn;

@property (strong, nonatomic) IBOutlet UIButton *GroupBtn;

@property (assign,nonatomic) id<RefreshTableDelegate>refreshDelegate;


@property (nonatomic,strong) NSDictionary *activityDic;

@property (strong, nonatomic) IBOutlet HPGrowingTextView *activityTextView;

@property (strong, nonatomic) IBOutlet HPGrowingTextView *addressTextView;

@property (assign,nonatomic) BOOL isAlreadyInputActiveCode;//是否需要活动代码

@property (assign,nonatomic) BOOL isDismissVC;
@property (strong, nonatomic) IBOutlet NSLayoutConstraint *groupViewHeight;

@property (strong, nonatomic) IBOutlet NSLayoutConstraint *totalViewHeight;
@property (strong, nonatomic) IBOutlet NSLayoutConstraint *activityViewHeight;

@property (strong, nonatomic) IBOutlet NSLayoutConstraint *addressViewHeight;
@end
